Skip to content

Conversation

KirkMunro
Copy link
Contributor

This RFC was originally proposed as part of a collection of RFCs in PR #187. I am separating those RFCs into separate PRs to better adhere to the RFC process.

@SteveL-MSFT
Copy link
Member

@PowerShell/powershell-committee discussed this, we think an alternate solution should be explored leveraging Engine events or introducing a Host event to provide a more generalized solution for the case of executing a script block on a specific event instead of having it attached to cmdlets. Also would need more details and thought on how to handle errors within the action scriptblock.

@SteveL-MSFT SteveL-MSFT closed this Feb 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Committee-Reviewed WG-Engine core PowerShell engine, interpreter, and runtime
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants